import { request } from '@umijs/max';
export async function commitFlag(params) {
    return request('/flag/commit',{
        method: 'POST',
        data: params,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}